<div class="panel panel-default mt20">
    <div class="panel-body">
      <div class="col-sm-12">
        <div class="row">
          <div class="col-sm-3">
            <input type="text" placeholder="游客姓名" class="form-control" ng-model="searchform.name" ng-keyup="myKeyup($event)">
          </div>
          <div class="col-sm-3">
            <input type="text" placeholder="游客身份证号" class="form-control" ng-model="searchform.people_idcard" ng-keyup="myKeyup($event)">
          </div>
          <div class="col-sm-3">
            <input type="text" placeholder="游客手机号" class="form-control" ng-model="searchform.tel" ng-keyup="myKeyup($event)">
          </div>
          <div class="col-sm-1">
            <button class="btn btn-block btn-info" ng-click="load()">检索</button>
          </div>
          <div class="col-sm-2 pull-right">
            <button class="btn btn-block btn-success" ng-click="add()">批量添加游客</button>
          </div>
        </div>
      </div>
    </div>
  </div>
  
  <div class="panel panel-default mt20">
    <div class="panel-body">
      <table class="table table-condensed table-hover table-bordered">
        <thead>
          <tr>
              <th class="col-md-2 text-center">游客编号</th>
            <th class="col-md-2 text-center">游客姓名</th>
            <th class="col-md-2 text-center">游客电话</th>
            <th class="col-md-2 text-center">游客身份证号</th>
            <th class="col-md-2 text-center">游客地址</th>
            <th class="col-md-2 text-center">操作</th>
          </tr>
        </thead>
        <tbody>
          <tr ng-repeat="obj in objs">
            <td class="text-center">{{obj.people_code}}</td>
            <td class="text-center">{{obj.name}}</td>
            <td class="text-center">{{obj.tel}}</td>
            <td class="text-center">{{obj.people_idcard}}</td>
            <td class="text-center">{{obj.people_adress}}</td>
            <td class="text-center">
              <a class="btn btn-info btn-xs" ng-click="update(obj.people_code)">编辑</a>
              <a class="btn btn-danger btn-xs" ng-click="del(obj.people_code)">删除</a>
            </td>
          </tr>
        </tbody>
      </table>
      <div class="text-right">
        <pagination total-items="bigTotalItems" ng-model="bigCurrentPage" ng-change="load(1)" previous-text="上一页" next-text="下一页"
          first-text="首页" last-text="尾页" max-size="maxSize" boundary-links="true" rotate="false" items-per-page="itemsPerPage"
          class="m-t-none m-b">
        </pagination>
      </div>
  
    </div>
  </div>